<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.6"/>
<title>GeorgeLib: C:/Users/morbidintel/Desktop/GeorgeLib/GeorgeLib/include/VBO.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">GeorgeLib
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.6 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>File&#160;Members</span></a></li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Friends</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Macros</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Pages</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_7b6257ab3f3b0c5fc3fdc7b3b6903f08.html">GeorgeLib</a></li><li class="navelem"><a class="el" href="dir_8d9d41024d66242eff60fc724c128f39.html">include</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="headertitle">
<div class="title">VBO.h</div>  </div>
</div><!--header-->
<div class="contents">
<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="preprocessor">#ifndef __VBO_H__</span></div>
<div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define __VBO_H__</span></div>
<div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="stdafx_8h.html">stdafx.h</a>&quot;</span></div>
<div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;<span class="preprocessor">#include &lt;vector&gt;</span></div>
<div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;<span class="preprocessor">#include &quot;vec3.h&quot;</span></div>
<div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;<span class="preprocessor">#include &quot;vec2.h&quot;</span></div>
<div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;</div>
<div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;<span class="keyword">namespace </span>GeorgeLib</div>
<div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;{</div>
<div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;</div>
<div class="line"><a name="l00016"></a><span class="lineno"><a class="line" href="struct_george_lib_1_1_vertex.html">   16</a></span>&#160;    <span class="keyword">struct </span><a class="code" href="struct_george_lib_1_1_vertex.html">Vertex</a></div>
<div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;    {</div>
<div class="line"><a name="l00019"></a><span class="lineno"><a class="line" href="struct_george_lib_1_1_vertex.html#af5b32f42b477e61422244226972e833e">   19</a></span>&#160;        <span class="keywordtype">float</span> <a class="code" href="struct_george_lib_1_1_vertex.html#af5b32f42b477e61422244226972e833e">pos</a>[3];</div>
<div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160;</div>
<div class="line"><a name="l00022"></a><span class="lineno"><a class="line" href="struct_george_lib_1_1_vertex.html#ae2eae292c1a08365a0f2e921bf2107b8">   22</a></span>&#160;        <span class="keywordtype">float</span> <a class="code" href="struct_george_lib_1_1_vertex.html#ae2eae292c1a08365a0f2e921bf2107b8">texcoord</a>[2];</div>
<div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160;</div>
<div class="line"><a name="l00025"></a><span class="lineno"><a class="line" href="struct_george_lib_1_1_vertex.html#a9c20736247f8a1265d5f3d68fae4bbd8">   25</a></span>&#160;        <span class="keywordtype">float</span> <a class="code" href="struct_george_lib_1_1_vertex.html#a9c20736247f8a1265d5f3d68fae4bbd8">normal</a>[3];</div>
<div class="line"><a name="l00026"></a><span class="lineno">   26</span>&#160;</div>
<div class="line"><a name="l00028"></a><span class="lineno"><a class="line" href="struct_george_lib_1_1_vertex.html#ae3787df093d5fcfc9eca84920dfb9ff0">   28</a></span>&#160;        <span class="keywordtype">float</span> <a class="code" href="struct_george_lib_1_1_vertex.html#ae3787df093d5fcfc9eca84920dfb9ff0">color</a>[4];</div>
<div class="line"><a name="l00029"></a><span class="lineno">   29</span>&#160;</div>
<div class="line"><a name="l00031"></a><span class="lineno"><a class="line" href="struct_george_lib_1_1_vertex.html#af49fbd7984c6d2fbbc50b5ad7cf7d4f4">   31</a></span>&#160;        GLubyte <a class="code" href="struct_george_lib_1_1_vertex.html#af49fbd7984c6d2fbbc50b5ad7cf7d4f4">padding</a>[16];</div>
<div class="line"><a name="l00032"></a><span class="lineno">   32</span>&#160;    };</div>
<div class="line"><a name="l00033"></a><span class="lineno">   33</span>&#160;</div>
<div class="line"><a name="l00038"></a><span class="lineno">   38</span>&#160;</div>
<div class="line"><a name="l00042"></a><span class="lineno">   42</span>&#160;</div>
<div class="line"><a name="l00043"></a><span class="lineno"><a class="line" href="class_george_lib_1_1_v_b_o___data.html">   43</a></span>&#160;    <span class="keyword">class </span>DLLEXPORT <a class="code" href="class_george_lib_1_1_v_b_o___data.html">VBO_Data</a></div>
<div class="line"><a name="l00044"></a><span class="lineno">   44</span>&#160;    {</div>
<div class="line"><a name="l00045"></a><span class="lineno">   45</span>&#160;    <span class="keyword">public</span>:</div>
<div class="line"><a name="l00046"></a><span class="lineno">   46</span>&#160;</div>
<div class="line"><a name="l00048"></a><span class="lineno"><a class="line" href="class_george_lib_1_1_v_b_o___data.html#abf5a27435583be9f1094d4c82ad50dbf">   48</a></span>&#160;        vector&lt;Vertex&gt; <a class="code" href="class_george_lib_1_1_v_b_o___data.html#abf5a27435583be9f1094d4c82ad50dbf">vertices</a>;</div>
<div class="line"><a name="l00049"></a><span class="lineno">   49</span>&#160;</div>
<div class="line"><a name="l00051"></a><span class="lineno">   51</span>&#160;</div>
<div class="line"><a name="l00052"></a><span class="lineno"><a class="line" href="class_george_lib_1_1_v_b_o___data.html#aaee3de45c63e505196ea82c512beab97">   52</a></span>&#160;        uint    id,</div>
<div class="line"><a name="l00053"></a><span class="lineno">   53</span>&#160;</div>
<div class="line"><a name="l00055"></a><span class="lineno">   55</span>&#160;</div>
<div class="line"><a name="l00056"></a><span class="lineno">   56</span>&#160;            <a class="code" href="class_george_lib_1_1_v_b_o___data.html#aaee3de45c63e505196ea82c512beab97">mode</a>;</div>
<div class="line"><a name="l00057"></a><span class="lineno">   57</span>&#160;</div>
<div class="line"><a name="l00059"></a><span class="lineno"><a class="line" href="class_george_lib_1_1_v_b_o___data.html#a3cc966483832fe18a14c4a0f1bc91cb1">   59</a></span>&#160;        <span class="keywordtype">bool</span>    hasNormal,</div>
<div class="line"><a name="l00061"></a><span class="lineno">   61</span>&#160;            <a class="code" href="class_george_lib_1_1_v_b_o___data.html#a3cc966483832fe18a14c4a0f1bc91cb1">hasTexCoord</a>,</div>
<div class="line"><a name="l00063"></a><span class="lineno">   63</span>&#160;            hasColor;</div>
<div class="line"><a name="l00064"></a><span class="lineno">   64</span>&#160;</div>
<div class="line"><a name="l00066"></a><span class="lineno"><a class="line" href="class_george_lib_1_1_v_b_o___data.html#a5789c8ba767dfac0865fce09d8223e0a">   66</a></span>&#160;        <a class="code" href="class_george_lib_1_1_v_b_o___data.html#a5789c8ba767dfac0865fce09d8223e0a">VBO_Data</a>()</div>
<div class="line"><a name="l00067"></a><span class="lineno">   67</span>&#160;            : hasTexCoord(false)</div>
<div class="line"><a name="l00068"></a><span class="lineno">   68</span>&#160;            , hasNormal(false)</div>
<div class="line"><a name="l00069"></a><span class="lineno">   69</span>&#160;            , hasColor(false)</div>
<div class="line"><a name="l00070"></a><span class="lineno">   70</span>&#160;        {};</div>
<div class="line"><a name="l00071"></a><span class="lineno">   71</span>&#160;</div>
<div class="line"><a name="l00073"></a><span class="lineno"><a class="line" href="class_george_lib_1_1_v_b_o___data.html#abd98df65b60a0a211a2b94dead570cd7">   73</a></span>&#160;        <a class="code" href="class_george_lib_1_1_v_b_o___data.html#abd98df65b60a0a211a2b94dead570cd7">~VBO_Data</a>() {};</div>
<div class="line"><a name="l00074"></a><span class="lineno">   74</span>&#160;    };</div>
<div class="line"><a name="l00075"></a><span class="lineno">   75</span>&#160;</div>
<div class="line"><a name="l00079"></a><span class="lineno">   79</span>&#160;</div>
<div class="line"><a name="l00084"></a><span class="lineno">   84</span>&#160;</div>
<div class="line"><a name="l00107"></a><span class="lineno">  107</span>&#160;</div>
<div class="line"><a name="l00108"></a><span class="lineno"><a class="line" href="class_george_lib_1_1_v_b_o.html">  108</a></span>&#160;    <span class="keyword">class </span>DLLEXPORT <a class="code" href="class_george_lib_1_1_v_b_o.html">VBO</a></div>
<div class="line"><a name="l00109"></a><span class="lineno">  109</span>&#160;    {</div>
<div class="line"><a name="l00110"></a><span class="lineno">  110</span>&#160;    <span class="keyword">private</span>:</div>
<div class="line"><a name="l00111"></a><span class="lineno">  111</span>&#160;</div>
<div class="line"><a name="l00113"></a><span class="lineno">  113</span>&#160;        vector&lt;VBO_Data*&gt; vbos;</div>
<div class="line"><a name="l00114"></a><span class="lineno">  114</span>&#160;</div>
<div class="line"><a name="l00116"></a><span class="lineno">  116</span>&#160;        <span class="keywordtype">bool</span> bAcceptingVertexData;</div>
<div class="line"><a name="l00117"></a><span class="lineno">  117</span>&#160;</div>
<div class="line"><a name="l00118"></a><span class="lineno">  118</span>&#160;    <span class="keyword">public</span>:</div>
<div class="line"><a name="l00119"></a><span class="lineno">  119</span>&#160;</div>
<div class="line"><a name="l00121"></a><span class="lineno"><a class="line" href="class_george_lib_1_1_v_b_o.html#aefd92c428cc663c677ba138a58251e4b">  121</a></span>&#160;        <a class="code" href="class_george_lib_1_1_v_b_o.html#aefd92c428cc663c677ba138a58251e4b">VBO</a>(<span class="keywordtype">void</span>) : bAcceptingVertexData(false) {};</div>
<div class="line"><a name="l00122"></a><span class="lineno">  122</span>&#160;</div>
<div class="line"><a name="l00124"></a><span class="lineno">  124</span>&#160;        ~<a class="code" href="class_george_lib_1_1_v_b_o.html">VBO</a>(<span class="keywordtype">void</span>);</div>
<div class="line"><a name="l00125"></a><span class="lineno">  125</span>&#160;</div>
<div class="line"><a name="l00127"></a><span class="lineno">  127</span>&#160;</div>
<div class="line"><a name="l00137"></a><span class="lineno">  137</span>&#160;        GLuint Begin(GLenum mode);</div>
<div class="line"><a name="l00138"></a><span class="lineno">  138</span>&#160;</div>
<div class="line"><a name="l00140"></a><span class="lineno">  140</span>&#160;</div>
<div class="line"><a name="l00147"></a><span class="lineno">  147</span>&#160;        <span class="keywordtype">void</span> End(GLenum usage = GL_STATIC_DRAW);</div>
<div class="line"><a name="l00148"></a><span class="lineno">  148</span>&#160;</div>
<div class="line"><a name="l00150"></a><span class="lineno">  150</span>&#160;</div>
<div class="line"><a name="l00153"></a><span class="lineno">  153</span>&#160;        <span class="keywordtype">void</span> UpdateBegin(GLuint <span class="keywordtype">id</span>);</div>
<div class="line"><a name="l00154"></a><span class="lineno">  154</span>&#160;</div>
<div class="line"><a name="l00156"></a><span class="lineno">  156</span>&#160;</div>
<div class="line"><a name="l00158"></a><span class="lineno">  158</span>&#160;        <span class="keywordtype">void</span> UpdateEnd(GLuint <span class="keywordtype">id</span>);</div>
<div class="line"><a name="l00159"></a><span class="lineno">  159</span>&#160;</div>
<div class="line"><a name="l00161"></a><span class="lineno">  161</span>&#160;        <span class="keywordtype">void</span> Draw(<span class="keywordtype">void</span>);</div>
<div class="line"><a name="l00162"></a><span class="lineno">  162</span>&#160;</div>
<div class="line"><a name="l00164"></a><span class="lineno">  164</span>&#160;        <span class="keywordtype">void</span> AddVertex(<a class="code" href="class_george_lib_1_1vec3.html">vec3</a> v);</div>
<div class="line"><a name="l00165"></a><span class="lineno">  165</span>&#160;</div>
<div class="line"><a name="l00167"></a><span class="lineno">  167</span>&#160;        <span class="keywordtype">void</span> AddVertex(<span class="keywordtype">float</span> x, <span class="keywordtype">float</span> y, <span class="keywordtype">float</span> z);</div>
<div class="line"><a name="l00168"></a><span class="lineno">  168</span>&#160;</div>
<div class="line"><a name="l00170"></a><span class="lineno">  170</span>&#160;        <span class="keywordtype">void</span> AddVertex(<span class="keywordtype">float</span> *v);</div>
<div class="line"><a name="l00171"></a><span class="lineno">  171</span>&#160;</div>
<div class="line"><a name="l00173"></a><span class="lineno">  173</span>&#160;        <span class="keywordtype">void</span> AddNormal(<a class="code" href="class_george_lib_1_1vec3.html">vec3</a> v);</div>
<div class="line"><a name="l00174"></a><span class="lineno">  174</span>&#160;</div>
<div class="line"><a name="l00176"></a><span class="lineno">  176</span>&#160;        <span class="keywordtype">void</span> AddNormal(<span class="keywordtype">float</span> x, <span class="keywordtype">float</span> y, <span class="keywordtype">float</span> z);</div>
<div class="line"><a name="l00177"></a><span class="lineno">  177</span>&#160;</div>
<div class="line"><a name="l00179"></a><span class="lineno">  179</span>&#160;        <span class="keywordtype">void</span> AddNormal(<span class="keywordtype">float</span> *v);</div>
<div class="line"><a name="l00180"></a><span class="lineno">  180</span>&#160;</div>
<div class="line"><a name="l00182"></a><span class="lineno">  182</span>&#160;        <span class="keywordtype">void</span> AddTexCoord(<a class="code" href="class_george_lib_1_1vec2.html">vec2</a> v);</div>
<div class="line"><a name="l00183"></a><span class="lineno">  183</span>&#160;</div>
<div class="line"><a name="l00185"></a><span class="lineno">  185</span>&#160;        <span class="keywordtype">void</span> AddTexCoord(<span class="keywordtype">float</span> u, <span class="keywordtype">float</span> v);</div>
<div class="line"><a name="l00186"></a><span class="lineno">  186</span>&#160;</div>
<div class="line"><a name="l00188"></a><span class="lineno">  188</span>&#160;        <span class="keywordtype">void</span> AddTexCoord(<span class="keywordtype">float</span> *v);</div>
<div class="line"><a name="l00189"></a><span class="lineno">  189</span>&#160;</div>
<div class="line"><a name="l00191"></a><span class="lineno">  191</span>&#160;</div>
<div class="line"><a name="l00193"></a><span class="lineno">  193</span>&#160;        <span class="keywordtype">void</span> AddColor(<a class="code" href="class_george_lib_1_1vec3.html">vec3</a> v, <span class="keywordtype">float</span> a = 1.0f);</div>
<div class="line"><a name="l00194"></a><span class="lineno">  194</span>&#160;</div>
<div class="line"><a name="l00196"></a><span class="lineno">  196</span>&#160;</div>
<div class="line"><a name="l00197"></a><span class="lineno">  197</span>&#160;        <span class="keywordtype">void</span> AddColor(<span class="keywordtype">float</span> r, <span class="keywordtype">float</span> g, <span class="keywordtype">float</span> b, <span class="keywordtype">float</span> a = 1.0f);</div>
<div class="line"><a name="l00198"></a><span class="lineno">  198</span>&#160;</div>
<div class="line"><a name="l00200"></a><span class="lineno">  200</span>&#160;        <span class="keywordtype">void</span> AddColor(<span class="keywordtype">float</span> *v);</div>
<div class="line"><a name="l00201"></a><span class="lineno">  201</span>&#160;</div>
<div class="line"><a name="l00203"></a><span class="lineno">  203</span>&#160;</div>
<div class="line"><a name="l00209"></a><span class="lineno">  209</span>&#160;        <span class="keywordtype">void</span> SetColor(GLuint vbo_id, <span class="keywordtype">float</span> r, <span class="keywordtype">float</span> g, <span class="keywordtype">float</span> b, <span class="keywordtype">float</span> a = 1.0f);</div>
<div class="line"><a name="l00210"></a><span class="lineno">  210</span>&#160;    };</div>
<div class="line"><a name="l00211"></a><span class="lineno">  211</span>&#160;} <span class="comment">// namespace GeorgeLib</span></div>
<div class="line"><a name="l00212"></a><span class="lineno">  212</span>&#160;</div>
<div class="line"><a name="l00213"></a><span class="lineno">  213</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="ttc" id="class_george_lib_1_1_v_b_o_html_aefd92c428cc663c677ba138a58251e4b"><div class="ttname"><a href="class_george_lib_1_1_v_b_o.html#aefd92c428cc663c677ba138a58251e4b">GeorgeLib::VBO::VBO</a></div><div class="ttdeci">VBO(void)</div><div class="ttdoc">constructor </div><div class="ttdef"><b>Definition:</b> VBO.h:121</div></div>
<div class="ttc" id="struct_george_lib_1_1_vertex_html_af5b32f42b477e61422244226972e833e"><div class="ttname"><a href="struct_george_lib_1_1_vertex.html#af5b32f42b477e61422244226972e833e">GeorgeLib::Vertex::pos</a></div><div class="ttdeci">float pos[3]</div><div class="ttdoc">vertex coordinates </div><div class="ttdef"><b>Definition:</b> VBO.h:19</div></div>
<div class="ttc" id="struct_george_lib_1_1_vertex_html_af49fbd7984c6d2fbbc50b5ad7cf7d4f4"><div class="ttname"><a href="struct_george_lib_1_1_vertex.html#af49fbd7984c6d2fbbc50b5ad7cf7d4f4">GeorgeLib::Vertex::padding</a></div><div class="ttdeci">GLubyte padding[16]</div><div class="ttdoc">padding to make the struct 64 bytes for efficiency </div><div class="ttdef"><b>Definition:</b> VBO.h:31</div></div>
<div class="ttc" id="class_george_lib_1_1_v_b_o___data_html_a3cc966483832fe18a14c4a0f1bc91cb1"><div class="ttname"><a href="class_george_lib_1_1_v_b_o___data.html#a3cc966483832fe18a14c4a0f1bc91cb1">GeorgeLib::VBO_Data::hasTexCoord</a></div><div class="ttdeci">bool hasTexCoord</div><div class="ttdoc">is true when Vertices  has texture coordinates data </div><div class="ttdef"><b>Definition:</b> VBO.h:59</div></div>
<div class="ttc" id="class_george_lib_1_1_v_b_o___data_html_a5789c8ba767dfac0865fce09d8223e0a"><div class="ttname"><a href="class_george_lib_1_1_v_b_o___data.html#a5789c8ba767dfac0865fce09d8223e0a">GeorgeLib::VBO_Data::VBO_Data</a></div><div class="ttdeci">VBO_Data()</div><div class="ttdoc">constructor </div><div class="ttdef"><b>Definition:</b> VBO.h:66</div></div>
<div class="ttc" id="class_george_lib_1_1vec2_html"><div class="ttname"><a href="class_george_lib_1_1vec2.html">GeorgeLib::vec2</a></div><div class="ttdoc">Holds 2 values and does vector maths. </div><div class="ttdef"><b>Definition:</b> vec2.h:14</div></div>
<div class="ttc" id="class_george_lib_1_1_v_b_o___data_html_aaee3de45c63e505196ea82c512beab97"><div class="ttname"><a href="class_george_lib_1_1_v_b_o___data.html#aaee3de45c63e505196ea82c512beab97">GeorgeLib::VBO_Data::mode</a></div><div class="ttdeci">uint mode</div><div class="ttdoc">mode in which the vertices are to be drawn </div><div class="ttdef"><b>Definition:</b> VBO.h:52</div></div>
<div class="ttc" id="class_george_lib_1_1vec3_html"><div class="ttname"><a href="class_george_lib_1_1vec3.html">GeorgeLib::vec3</a></div><div class="ttdoc">Holds 3 values and does vector maths. </div><div class="ttdef"><b>Definition:</b> vec3.h:13</div></div>
<div class="ttc" id="class_george_lib_1_1_v_b_o___data_html_abd98df65b60a0a211a2b94dead570cd7"><div class="ttname"><a href="class_george_lib_1_1_v_b_o___data.html#abd98df65b60a0a211a2b94dead570cd7">GeorgeLib::VBO_Data::~VBO_Data</a></div><div class="ttdeci">~VBO_Data()</div><div class="ttdoc">destructor </div><div class="ttdef"><b>Definition:</b> VBO.h:73</div></div>
<div class="ttc" id="class_george_lib_1_1_v_b_o___data_html"><div class="ttname"><a href="class_george_lib_1_1_v_b_o___data.html">GeorgeLib::VBO_Data</a></div><div class="ttdoc">Stores Vertex data, id of the generated Vertex Buffer Object , and the primitive drawing mode...</div><div class="ttdef"><b>Definition:</b> VBO.h:43</div></div>
<div class="ttc" id="stdafx_8h_html"><div class="ttname"><a href="stdafx_8h.html">stdafx.h</a></div><div class="ttdoc">Standard header file for GeorgeLib. </div></div>
<div class="ttc" id="struct_george_lib_1_1_vertex_html_ae3787df093d5fcfc9eca84920dfb9ff0"><div class="ttname"><a href="struct_george_lib_1_1_vertex.html#ae3787df093d5fcfc9eca84920dfb9ff0">GeorgeLib::Vertex::color</a></div><div class="ttdeci">float color[4]</div><div class="ttdoc">color data </div><div class="ttdef"><b>Definition:</b> VBO.h:28</div></div>
<div class="ttc" id="struct_george_lib_1_1_vertex_html"><div class="ttname"><a href="struct_george_lib_1_1_vertex.html">GeorgeLib::Vertex</a></div><div class="ttdoc">A data structure for the information for each vertex. </div><div class="ttdef"><b>Definition:</b> VBO.h:16</div></div>
<div class="ttc" id="struct_george_lib_1_1_vertex_html_ae2eae292c1a08365a0f2e921bf2107b8"><div class="ttname"><a href="struct_george_lib_1_1_vertex.html#ae2eae292c1a08365a0f2e921bf2107b8">GeorgeLib::Vertex::texcoord</a></div><div class="ttdeci">float texcoord[2]</div><div class="ttdoc">texture coordinates </div><div class="ttdef"><b>Definition:</b> VBO.h:22</div></div>
<div class="ttc" id="struct_george_lib_1_1_vertex_html_a9c20736247f8a1265d5f3d68fae4bbd8"><div class="ttname"><a href="struct_george_lib_1_1_vertex.html#a9c20736247f8a1265d5f3d68fae4bbd8">GeorgeLib::Vertex::normal</a></div><div class="ttdeci">float normal[3]</div><div class="ttdoc">normal coordinates </div><div class="ttdef"><b>Definition:</b> VBO.h:25</div></div>
<div class="ttc" id="class_george_lib_1_1_v_b_o_html"><div class="ttname"><a href="class_george_lib_1_1_v_b_o.html">GeorgeLib::VBO</a></div><div class="ttdoc">Manages the creating and rendering of Vertex Buffer Objects (VBOs) </div><div class="ttdef"><b>Definition:</b> VBO.h:108</div></div>
<div class="ttc" id="class_george_lib_1_1_v_b_o___data_html_abf5a27435583be9f1094d4c82ad50dbf"><div class="ttname"><a href="class_george_lib_1_1_v_b_o___data.html#abf5a27435583be9f1094d4c82ad50dbf">GeorgeLib::VBO_Data::vertices</a></div><div class="ttdeci">vector&lt; Vertex &gt; vertices</div><div class="ttdoc">The array of Vertices . </div><div class="ttdef"><b>Definition:</b> VBO.h:48</div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Wed Jan 21 2015 13:43:17 for GeorgeLib by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.6
</small></address>
</body>
</html>
